remove empty lines
fix for gallery scrolling