functions for Horizontally curved page is being coded.