added style for photo detail to scroll with page