move styles to css file + go to pageRange on change