got something working. def depends on size of page but..