variable size pattern lock screen based on work by smasher816 Part 2