click detecting, layout made