refactor directory layout and add scrollparent for gallery