Some overall layout fixes.
Fixed a bug with slider layout.