Handle less than 3 applications visible in layout
Cleanup