Simplify preload swipe CSS code