fix scroll after rotation