Fixed a bug where clicking on empty space on the selection layer causes an Error in Select control
Fixed IE compatibility for getComputedStyle method
Allow space detection for layer

Use `"vertical"`, `"horizontal"` or `"both"`
Auto position selection layer