Fixing options position

Class "bottom" was not being removed after the options were closed.
Options were being opened always on the top.