fixed performance issue on mobile browsers