function for page drassel