Fixes to give panels flattened look

Changes from mobile-branch to give flattened look to panels.