Changed max pins per page and pin index