Added current page style and logic