Removed dependancy on .focus for scroll. Added new scroll algorithm