Event trickling for layouts implemented; also added initial code for canvas layouts