editing and viewing events works, viewing needs styles