improved element collision logic and graphics