added new pics from client, changed browser history mode, fixed selected tab on reload