moved pages to jade. fixes #18
fixed weird collapse animation bug