moved presentation lib related stuff into subsite (handler undefined at the moment)