Fix problem with hight CPU usage in code for responsive design
Merge remote-tracking branch 'origin/an_code_refactoring_for_mainsite' into an_code_refactoring_for_mainsite

Conflicts:
	js/jquery.prettyPhoto.js
Changes in file for responsive design for decrease CPU usage