Fix styling bug on pages drag