fix 'elements fall outside the viewport'