popup layout and some more css updates