improve layout and import bitmaps