fixed a bug in the event view and reordered the selenium tests so they work