fix close button positioned

Fixes #1392 
Also Fixes other UI bugs on Sidebar-mobile