change style for picture pagination