Hi @hptarora
The way selection works is that when you open selection, JS works and calculates the visible area you have upwards and downwards and if the area upwards is more, it sets the top style according to the selection dropdown making it open upwards.
There is no OOTB option to stop this functionality to work. You can write your own js to overwrite the style set by selection JS or overlay selection JS but I think you should not change it otherwise you will have to handle many other things by yourself.
Thanks,
Nupur