prototype of foundation and photoswipe