Fixed loading bug, and adjusted submenu position

now the submenu is dynamically positioned as per ew main dock