make use of input handler
use the index to determine affected pages
more localization
added styling