Optimize knobs with cached bitmap and adjust layout